package com.lightboat.common.core.domain.bo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 凭证类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Credential {
    private String appId;
    private String appKey;
    private String secretKey;
    private String accessToken;
    private String refreshToken;
    private String customerCode;
    public Credential(String appKey, String secretKey) {
        this.appKey = appKey;
        this.secretKey = secretKey;
    }

    public Credential(String appId, String appKey, String secretKey) {
        this.appId = appId;
        this.appKey = appKey;
        this.secretKey = secretKey;
    }
}